import getEle from "./utils.js"

const bindEvent = (selector,eventType,eventHandle)=>{
    const ele = getEle(selector);
    ele.addEventListener(eventType,eventHandle);
}
// bindEvent(".list",'click',function(){})
export default bindEvent